package com.ckex.learn.lucene.dao;

import java.util.List;

import com.ckex.learn.lucene.dao.page.PageList;
import com.ckex.learn.lucene.dao.page.PageQuery;
import com.ckex.learn.lucene.domain.OrderDo;

/**
 * @author ckex created 2013-10-6 - 下午2:09:37 OrderDao.java
 * @explain -
 */
public interface OrderDao {

    OrderDo load(Long id);

    boolean delete(Long id);

    Long create(OrderDo record);

    boolean update(OrderDo record);

    PageList<OrderDo> listByPage(Long sellerId, PageQuery pageQuery, Integer count);

    List<OrderDo> listAllByTid(Long sellerId, Long tradeId);
}
